package com.bawei.a2010douyin.entity;


import com.flyco.tablayout.listener.CustomTabEntity;

public class MyTabentity implements CustomTabEntity {
    private String title;//文字
    private int selectIcon;//选中图片

    public MyTabentity(String title, int selectIcon, int unselectIcon) {
        this.title = title;
        this.selectIcon = selectIcon;
        this.unselectIcon = unselectIcon;
    }

    private int unselectIcon;//未选中图片

    @Override
    public String getTabTitle() {
        return title;
    }

    @Override
    public int getTabSelectedIcon() {
        return selectIcon;
    }

    @Override
    public int getTabUnselectedIcon() {
        return unselectIcon;
    }
}
